package com.jokul.controller;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;

/**
 *@author: jokul
 *@2013-3-15 下午1:58:42
 */
@WebServlet(name="test",urlPatterns="/test",
	initParams={
		@WebInitParam(name="aaa" ,value = "bbb")
    }
)
public class Test extends HttpServlet {

	private static final long serialVersionUID = 2412875376654397506L;

	
	public void init() throws ServletException {
		System.out.println(getServletConfig().getInitParameter("aaa"));
    }
}
